  // 登录
  $('.j-HomePage').click(function(){
    $.ajax({
      url:'/api/login/getuser',
      data:{
        username:$('.j-usename').val(),
        password:$('.j-passname').val(),
        type:$('.type:checked').val()
      },
      type:'get',
      success:function(res){
        if(res.data.length){

          window.location.href='/wb258-2/page/AnnouncementHomePage.html'
        }else{
          $('.denglukuang .panduanzhanghao').css('display','block')
        }
      }
    })
  })